package com.ljq.software_springboot.softwareprogram.imp;

import com.ljq.software_springboot.softwareprogram.entity.ChatMember;
import com.ljq.software_springboot.softwareprogram.mapper.ChatMemberMapper;
import com.ljq.software_springboot.softwareprogram.service.IChatMemberService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.experimental.Accessors;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author author
 * @since 2024-12-29
 */
@Service
public class ChatMemberServiceImpl extends ServiceImpl<ChatMemberMapper, ChatMember> implements IChatMemberService {
    @Autowired
    private ChatMemberMapper chatMemberMapper;
    public List<ChatMember> findmember(int id){
        return chatMemberMapper.getGroupMembers(id);
    }
}
